package com.john.factory.method;

public class PigFactory implements AnimalFactory {

	@Override
	public Animal createAnimal() {
		return new Pig();
	}

}
